package com.yjc.drygoods.ware.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yjc.common.utils.PageUtils;
import com.yjc.drygoods.ware.entity.InventoryAlertsEntity;
import com.yjc.drygoods.ware.entity.PurchaseDetailEntity;

import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author yjc
 * @email yjc19979401754@126.com
 * @date 2022-08-19 23:23:36
 */
public interface PurchaseDetailService extends IService<PurchaseDetailEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<PurchaseDetailEntity> listDetailByPurchaseId(Long id);

    /**
     * 保存采购需求
     * @param purchaseDetail
     */
    void savePurchaseDetail(PurchaseDetailEntity purchaseDetail);

    void addPurchaseItem(InventoryAlertsEntity inventoryAlertsEntity);
}

